import { lazy, Suspense } from 'react';
import Loading from '@/components/Loading';

const Login = lazy(() => import('./Login'));

export default function LazyLogin() {
  return (
    <Suspense fallback={<Loading />}>
      <Login />
    </Suspense>
  );
}
